using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DevExpress.XtraReports.UI;
using RMSM;

namespace AC.Report
{
	public partial class FrmReport : DevExpress.XtraEditors.XtraForm
	{
		public FrmReport(string text, XtraReport report)
		{
			InitializeComponent();

			this.Text = text;

			this.printControl1.PrintingSystem = report.PrintingSystem;
			report.CreateDocument();
		}
	}
}